<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>@yield('title')</title>
    <!-- Fonts -->
    {{--<link rel="dns-prefetch" href="https://fonts.gstatic.com">--}}
    {{--<link href="https://fonts.googleapis.com/css?family=Raleway:300,400,600" rel="stylesheet" type="text/css">--}}

    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
</head>
<body>
    <div id="app">
        <div  class="backToTop" id="backToTop">
            <i class="fa fa-chevron-up"></i>
        </div>
        @include('layouts.header', ['navShow'=> $navShow ?? null])
        <main >
            @yield('content')
        </main>
        <!-- FOOTER -->
        <footer class="footer">
            <div class="container-fluid footer-top">
                <div class="footer-title container">
                    联系我们
                </div>
                <div class="d-flex justify-content-between mt-1 container">
                    <div class="footer-left">
                        <span>咨询电话: <span class="mobile">{{\App\Models\Property::getValueByIndex('site-property','mobile')}}</span></span>
                        <span class="ml-3">Email: {{\App\Models\Property::getValueByIndex('site-property','email')}}</span>
                    </div>
                    <div class="footer-right">
                        <span class="left">{{\App\Models\Property::getValueByIndex('site-property','left')}}</span>
                    </div>
                </div>
            </div>
            <div class="container footer-bottom p-3">
                <p class="m-0">Copyright © 2018 Apple Inc. 保留所有权利。隐私政策 使用条款 销售政策 法律信息 网站地图 <br>
                    京公安网安备 11010502008968 京ICP备10214630</p>
            </div>
        </footer>
    </div>
    <!-- Scripts -->
    <script src="{{ asset('/js/manifest.js')}}"></script>
    <script src="{{ asset('/js/vendor.js')}}"></script>
    <script src="{{ asset('js/app.js') }}" ></script>
    @stack('scripts')
</body>
</html>
